package com.example.springboot1.utils.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @aythor Tian
 * @date 2022/5/10-11:14
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MyException extends RuntimeException{

    private Integer code;//状态码
    private String msg;//异常信息
}
